package com.huangpuweb.task.service;

import com.huangpuweb.task.model.*;

import java.util.List;

public interface SyncSysDataService {

    void insertSysRefinedCrowdSituation(SysRefinedCrowdSituation sysrefinedcrowd);

    void insertSysBackupCrowdSituation(SysRefinedCrowdSituation sysrefinedcrowd);

    SysRefinedCrowdSituation getMaxNumberBySysRefinedCrowdSituation(String s,String startTime,String endTime);

    SysRefinedCrowdSituation getRealNumberBySysRefinedCrowdSituation(String s);

    void updateHpScenicState(SysHpScenicState sysHpScenicState);

    SysRefinedCrowdSituation getDateNumberBySysRefinedCrowdSituation(String s, String todayZero, String today23);

    SysRefinedCrowdSituation getDateRealNumberBySysRefinedCrowdSituation(String s, String todayZero, String today23);

    SysHistoryCrowdSituation getFirstSysHistoryCrowdSituation(String s, String todayZero);

    void updateHistoryCrowdSituation(SysHistoryCrowdSituation historyCrowdSituation);

    void insertHistoryCrowdSituation(SysHistoryCrowdSituation historyCrowdSituation);

    boolean checkParkData(QzJGWPARKData park);

    void insertHpPark(SysHpPark hp_park);

    SysHpParkInfo getSysHpParkInfo(String parkid);

    void insertSysHpParkInfo(SysHpParkInfo sysHpParkInfo);

    void updateSysHpParkInfo(SysHpParkInfo sysHpParkInfo);

    List<String> getRoadIdsFromHpRoadConditionByRoadName(String[] roadNames);

    void insertNewSysHpBuilding(QzSysBuildingInfo ou);

    String getSysHpBuildingIdByUUId(String uuid);

    void insertOrUpdateRoadPredictionInfo(SysHpRoadConditionInfo roadPredictionInfo);

    boolean checkSubwayData(String zdid, String s);

    void updateHpSubway(HpSubway hpSubway);

    void insertHpSubway(HpSubway hpSubway);

    void insertOrUpdatesubwayExitInfo(HpSubwayExitInfo subwayExitInfo);

    List<String> getRoadIdsBySpotCode(String spotCode);

    void insertOrUpdateRoadPrediction(SysHpRoadPrediction prediction);

    void insertSysHpEmergencyEvent(SysHpEmergencyEvent sysHpEmergencyEvent);

    String getSysSettingByEmergencyEvent();

    void insertSysSettingByEmergencyEvent(String eventTime);


    List<String> getRoadIdsFromHpRoadCondition();

    void insertAlibabaPersonCount(String content, String njdl);

    void updateThreeData();

    BlmqBuildInfo findById(Integer build_id);

    void insertBulidInfo(BlmqBuildInfo blmqBuildInfo);

    void updateBulidInfo(BlmqBuildInfo blmqBuildInfo);

    BlmqCheckList findCheckListById(String id);

    void insertCheckListBulidInfo(BlmqCheckList blmqCheckList);

    void updateCheckListBulidInfo(BlmqCheckList blmqCheckList);

    BlmqCheckListDtl findCheckListDtlById(String id);

    BlmqCheckListLog findCheckListLogById(String id);

    BlmqCountryCheck findBlmqCountryCheckById(String id);

    BlmqEmergencyDtl findBlmqEmergencyDtlById(String id);

    BlmqOwnCheckList findBlmqOwnCheckListById(String id);

    void insertCheckListDtlBulidInfo(BlmqCheckListDtl blmqCheckList);

    void updateCheckListDtlBulidInfo(BlmqCheckListDtl blmqCheckList);

    void insertCheckListLogBulidInfo(BlmqCheckListLog blmqCheckList);

    void updateCheckListLogBulidInfo(BlmqCheckListLog blmqCheckList);

    void insertBlmqCountryCheck(BlmqCountryCheck blmqCheckList);

    void updateBlmqCountryCheck(BlmqCountryCheck blmqCheckList);

    void insertBlmqEmergencyDtl(BlmqEmergencyDtl blmqCheckList);

    void updateBlmqEmergencyDtl(BlmqEmergencyDtl blmqCheckList);

    void insertBlmqOwnCheckList(BlmqOwnCheckList blmqCheckList);

    void updateBlmqOwnCheckList(BlmqOwnCheckList blmqCheckList);

    List<NjdlTotalNumber> getNjdlTotalNumberTask();

    NjdlTotalNumber findNjdlTotaolNumber(String times);

    void insertNjdlTotalNumber(NjdlTotalNumber number);

    String getId( String cjrq,String age);

    void insertPeopleById(HpPersonHouseStatistics e, String age);

    void insertPeopleAgeById(HpSyrkAgeDistribute e);

    void insertPeopleGenderById(HpSyrkGender e);


    void truncate(String age);

    void insertAlibabaPred(String trim, String dateTime);

    void insertAlibabaWt(String content, String wt);

    int selectOne();

    void insertKeLiuShuSan(String t_4k, String t_10k, String t_20k, String flows,int sum);
}
